package com.share.device.service;

import com.share.device.domain.CabinetSlot;
import com.share.device.domain.ScanChargeVo;
import com.share.device.domain.StationVo;

import java.util.List;

public interface IDeviceService {

    /**
     * 获取附近站点信息列表
     */
    List<StationVo> nearbyStation(String latitude, String longitude, Integer searchPcRadius);

    /**
     * 根据id获取门店详情
     */
    StationVo getStation(Long id, String latitude, String longitude);

    /**
     * 扫码充电
     */
    ScanChargeVo scanCharge(String cabinetNo);


    void unlockSlot(CabinetSlot cabinetSlot);
}
